package com.hansming.bss.modules.sfc.entity;

import java.math.BigDecimal;

import com.hansming.bss.common.persistence.DataEntity;

/**
 * 线路分支日期价格Entity
 * @author Hansming
 * @version 2017-09-15
 */
public class LineDatePrice extends DataEntity<LineDatePrice>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private LineBranch lineBranch;		//线路分支	
	private String datetime;				//日期	
	private BigDecimal adultprice;		//成年人价格	
	private BigDecimal childprice;		//未成年人价格
	private int maxperson;				//线路最大容纳人数	
	private Line line;
	
	public LineBranch getLineBranch() {
		return lineBranch;
	}

	public void setLineBranch(LineBranch lineBranch) {
		this.lineBranch = lineBranch;
	}

			
	public BigDecimal getAdultprice() {
		return adultprice;
	}

	public void setAdultprice(BigDecimal adultprice) {
		this.adultprice = adultprice;
	}

	public BigDecimal getChildprice() {
		return childprice;
	}

	public void setChildprice(BigDecimal childprice) {
		this.childprice = childprice;
	}

	public Line getLine() {
		return line;
	}

	public void setLine(Line line) {
		this.line = line;
	}

	public LineDatePrice(){
		super();
		this.maxperson = 50;
	}

	

	public String getDatetime() {
		return datetime;
	}

	public void setDatetime(String datetime) {
		this.datetime = datetime;
	}

	public int getMaxperson() {
		return maxperson;
	}

	public void setMaxperson(int maxperson) {
		this.maxperson = maxperson;
	}
	
	
}
